using UnityEngine;
using System.Collections;
using GameClient;

public class main : MonoBehaviour {
    private GatewayAgant m_GatewayAgant = GameClient.GatewayAgant.GetInstace();
	// Use this for initialization
	void Start () {
        m_GatewayAgant.Setup("172.16.11.168", 7000);
	}
	
	// Update is called once per frame
	void Update () {
		// gateway.Run();
        if (m_GatewayAgant.IsConnected())
        {
            m_GatewayAgant.Run();
        }
	}
}
